package priv.happy.mealpickpro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import priv.happy.mealpickpro.domain.UserMeal;
import priv.happy.mealpickpro.dto.UserDTO;

/**
 * @author HAPPY
 * @description 针对表【user_meal】的数据库操作Service
 * @createDate 2023-07-02 11:41:39
 */
public interface UserMealService extends IService<UserMeal> {

    UserMeal login(UserMeal user);

    /**
     * 修改用户基本信息
     * @param userInfo 要修改的用户信息
     * @return 0-成功，1-图像格式错误，2-服务器错误
     */
    int modifyUserInfo(UserDTO userInfo);
}
